package com.orange.delivery.technicalservice.tool;

public class Objects {

	// class should not be instantiated
	private Objects() {
	}

	/**
	 * Helps to avoid using {@code @SuppressWarnings( "unchecked"})} when casting to a generic type. See
	 * http://stackoverflow.com/questions/509076/how -do-i-address-unchecked-cast-warnings/509230#509230
	 */
	@SuppressWarnings({ "unchecked" })
	public static <T> T uncheckedCast(Object obj) {
		return (T) obj;
	}

}
